<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
<title>首页</title>
<meta charset="UTF-8" />	
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.css"/>
<script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://apps.bdimg.com/libs/jquerymobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="page" id="pageOne" style='background:url(/dcms/img/loginimg.jpg) 50% 0 no-repeat;background-size:cover'>
    <div data-role="header">
        <h1>二维码管理系统</h1>
    </div>
    <input type="hidden" id="identify" th:value="${identify}"></input>
    <input type="hidden" id="url" th:value="${url}"></input>
    <div data-role="content">
    
    <!-- <div style="padding: 10px 20px;">
            <h3>请登录</h3>
            <input type="text" name="user" id="user" value="" placeholder="用户名" data-theme="a"/>
            <input type="password" name="pwd" id="pwd" value="" placeholder="密码" data-theme="a"/>
            <label id="error" style="color: red"></label>
            <button type="submit" id="subtnForUser" data-theme="b">登录</button>
            <button type="submit" id="subtnForVisitors" data-theme="c">游客</button>
            </div> -->
        <!-- <table width="50%" data-role="table" data-mode="columntoggle:none"
				class="ui-corner-all ui-body-c ui-responsive ui-shadow" data-column-btn-theme="e"
				data-column-popup-theme="c" id="myTable" style='background:url(/dcms/img/loginimg.jpg) 50% 0 no-repeat;background-size:cover'>
				<thead class="pearlHeading">
					<tr>
						<th width="30%"><h3>请登录</h3></th>
						<th></th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>用户名:</td>
						<td>
						<input type="text" name="user" id="user" value="" placeholder="用户名" data-theme="a" data-clear-btn="true"/>
						</td>
					</tr>
					<tr>
						<td>密码:</td>
						<td>
						<input type="password" name="pwd" id="pwd" value="" placeholder="密码" data-theme="a" data-clear-btn="true"/>
						</td>
					</tr>
					<tr>
						<td></td>
						<td><label id="error" style="color: red"></label></td>
					</tr>
					<tr>
						<td colspan="2">
						<div data-role="content">  
            <a href="javascript: ;" id="subtnForUser" data-ajax='false' data-transition="slide" data-direction="reverse" data-role="button" data-theme="e" data-icon="home" data-inline="true">登录</a>  
            <a data-role="button" id="subtnForVisitors" data-theme="b" data-icon="action" data-inline="true">游客</a>  
            </div>
						</td>
					</tr>
				</tbody>
			</table> -->
			
        <div data-role="popup" data-transition="fade" data-dismissible="false" id="popupLoginSelect" data-theme="a" class="ui-corner-all" style='background:url(/dcms/img/loginimg.jpg) 50% 0 no-repeat;background-size:cover'>
            <div style="padding: 10px 20px;">
            <h3>请 登 录</h3>
            <input type="text" name="user" id="user" value="" placeholder="用户名" data-theme="a" data-clear-btn="true"/>
            <input type="password" name="pwd" id="pwd" value="" placeholder="密码" data-theme="a" data-clear-btn="true"/>
            <label id="error" style="color: red"></label>
            <div data-role="content">  
            <a href="javascript: ;" id="subtnForUser" data-ajax='false' data-transition="slide" data-direction="reverse" data-role="button" data-theme="e" data-icon="home" data-inline="true">登录</a>  
            <a data-role="button" id="subtnForVisitors" data-theme="b" data-icon="action" data-inline="true">游客</a>  
            </div>
            <a href='javascript:void(0)' data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-a ui-icon-delete ui-btn-icon-notext ui-btn-right">Close</a>
            </div>
        </div>
        
        <!-- <div data-role="popup" id="popupLogin" data-theme="a" class="ui-corner-all">
            <div style="padding: 10px 20px;">
            <h3>Please sign in</h3>
            <input type="text" name="user" value="" placeholder="Username" data-theme="a"/>
            <input type="password" name="pwd" value="" placeholder="Password" data-theme="a"/>
            <button type="submit" data-theme="b">Sign i9999n</button>
            </div>
        </div> -->
        <div data-role="popup" id="popupWait" data-theme="a" class="ui-corner-all">
        <div style="padding: 10px 20px;">
        <div id="loadingImage">
        <img th:src="@{/img/loading.gif}" />
    </div>
        </div>
        </div>
    </div>
    </div>
<script th:src="@{/login/mobilelogin.js}"></script>
<script th:src="@{/plugins/sha256.js}"></script>
<script th:inline="javascript">
	window.rootPath= /*[[${#httpServletRequest.getContextPath()}]]*/
</script>
</body>
</html>